home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
cfftm1di.z
/
cfftm1di
Wrap
Text File
|
1996-03-14
|
4KB
|
133 lines
ccccffffffffttttmmmm1111ddddiiii,,,,zzzzffffffffttttmmmm1111ddddiiii((((3333FFFF)))) ccccffffffffttttmmmm1111ddddiiii,,,,zzzzffffffffttttmmmm1111ddddiiii((((3333FFFF))))
NNNNAAAAMMMMEEEE
ccccffffffffttttmmmm1111ddddiiii,,,, zzzzffffffffttttmmmm1111ddddiiii ---- initialize the coefficient array for complex-to-
complex Multiple 1D FFT modules.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
_F_O_R_T_R_A_N _S_P_E_C_I_F_I_C_A_T_I_O_N
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee CCCCFFFFFFFFTTTTMMMM1111DDDDIIII(((( nnnn,,,, ccccooooeeeeffffffff ))))
iiiinnnntttteeeeggggeeeerrrr nnnn
ccccoooommmmpppplllleeeexxxx ccccooooeeeeffffffff((((nnnn++++11115555))))
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ZZZZFFFFFFFFTTTTMMMM1111DDDDIIII(((( nnnn,,,, ccccooooeeeeffffffff ))))
iiiinnnntttteeeeggggeeeerrrr nnnn
ddddoooouuuubbbblllleeee ccccoooommmmpppplllleeeexxxx ccccooooeeeeffffffff((((nnnn++++11115555))))
_C _S_P_E_C_I_F_I_C_A_T_I_O_N
####iiiinnnncccclllluuuuddddeeee <<<<fffffffftttt....hhhh>>>>
ccccoooommmmpppplllleeeexxxx ****ccccffffffffttttmmmm1111ddddiiii(((( iiiinnnntttt nnnn,,,, ccccoooommmmpppplllleeeexxxx ****ccccooooeeeeffffffff))));;;;
zzzzoooommmmpppplllleeeexxxx ****zzzzffffffffttttmmmm1111ddddiiii(((( iiiinnnntttt nnnn,,,, zzzzoooommmmpppplllleeeexxxx ****ccccooooeeeeffffffff))));;;;
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Initialize the coefficient array which is used in the Multiple 1D FFT
modules. This array contains the different twiddle factors and the
factorization of N into prime numbers.
As the FFT modules cfftm1d or zfftm1d only read the _c_o_e_f_f array, it may
be reused as long as necessary once it has been initialized.
In C, if _p_t_r is NULL, _c_f_f_t_m_1_d_i or _z_f_f_t_m_1_d_i returns a pointer to an
allocated buffer.
CFFTM1DI should be used to initialize the coefficient array before any
call to CFFTM1D
ZFFTM1DI should be used to initialize the coefficient array before any
call to ZFFTM1D
PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
NNNN ---- Integer. Specifies the length of the sequence to be transformed.
Unchanged on exit.
CCCCOOOOEEEEFFFFFFFF ---- Array (C or Fortran) or NULL pointer(C).
EEEExxxxaaaammmmpppplllleeee ooooffff CCCCaaaalllllllliiiinnnngggg SSSSeeeeqqqquuuueeeennnncccceeee
Initializing a coefficient array for complex-to-complex FFTs of size 200.
_F_o_r_t_r_a_n :
complex coeff(200+15)
call cfftm1di( 200, coeff)
_C :
#include <fft.h>
complex *coeff;
PPPPaaaaggggeeee 1111
ccccffffffffttttmmmm1111ddddiiii,,,,zzzzffffffffttttmmmm1111ddddiiii((((3333FFFF)))) ccccffffffffttttmmmm1111ddddiiii,,,,zzzzffffffffttttmmmm1111ddddiiii((((3333FFFF))))
coeff = cfftm1di( 200, NULL);
SSSSEEEEEEEE AAAALLLLSSSSOOOO
fft, cfftm1d, zfftm1d
PPPPaaaaggggeeee 2222